package com.rd.teacher.jichao.day27.other;

public class Test52 {

    public static void main(String[] args) {
        AAA aaa = new BBB();
        aaa.test1();
    }


}

class AAA {
    public void test() {
    }

    protected static void test1() {
        System.out.println("AAA");
    }
}

class BBB extends AAA {
    //    @Override
//    private void test(){}
    public static void test1() {
        System.out.println("BBB");
    }
}
